from common.locate_by import By

class LocHospitalDetail:

    loc_close = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_area_code = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "行政区域:",
        "seq": 1,
    }

    loc_latitude = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "纬度:",
    }

    loc_capacity = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "容纳人数:",
    }

    loc_institution_id = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "机构编码:",
    }

    loc_capacity_area = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "有效避难面积:",
    }

    loc_longitude = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "经度:",
    }

    loc_name = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "机构名称:",
    }

    loc_institution_type = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "机构类别:",
        "seq": 2,
    }

    loc_institution_level = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.combobox,
        "loc_name": "机构等级:",
        "seq": 3,
    }

    loc_address = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "地址:",
    }

    loc_geom = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "坐标信息:",
    }
    loc_geom_close = {
        "page_role": By.dialog,
        "page_title": "坐标信息",
        "loc_role": By.button,
        "loc_name": "关闭此对话框",
    }

    loc_director = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "负责人:",
    }

    loc_telephone = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "联系方式:",
    }

    loc_resident_position_desc = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "常驻位置描述:",
    }

    loc_resident_position_id = {
        "page_role": By.dialog,
        "page_title": "查 看",
        "loc_role": By.textbox,
        "loc_name": "常驻位置:",
    }
